import { Boolean, Code, Entity, PrimaryUuid, Uuid } from "@sker/core";

@Entity({ name: 'kd_agent_area' })
export class KdAgentArea {
    @PrimaryUuid()
    id: string;

    @Code({ comment: '省区划码' })
    province_code: string;

    @Code({ comment: '区域区划码' })
    area_code: string;

    @Code({ comment: '城市区划码' })
    city_code: string;

    @Uuid({ comment: '代理ID' })
    agent_id: string;

    @Boolean({ comment: '是否可用' })
    enabled: boolean;
}